package com.oxymore.jbnetapi.core;

/**
 * Error handling is here, it's ugly but, eh. If you see that your expected
 * objet is empty, check those two vars (reason and status).
 * 
 * @author Valentin
 * 
 */
public class ApiResponse
{
	private String reason;
	private String status;

	public String getError()
	{
		return "[reason=" + reason + ", status=" + status + "]";
	}

	public String getReason()
	{
		return reason;
	}

	public void setReason(String reason)
	{
		this.reason = reason;
	}

	public String getStatus()
	{
		return status;
	}

	public void setStatus(String status)
	{
		this.status = status;
	}

	@Override
	public String toString()
	{
		return "ApiResponse [reason=" + reason + ", status=" + status + "]";
	}
}
